package com.explorati.design_pattern.structural.decorator.v2;

public class AbstractDecorator extends ABattercake {
	private ABattercake aBattercake;

	public AbstractDecorator(ABattercake aBattercake) {
		this.aBattercake = aBattercake;
	}

	@Override
	protected String getDesc() {
		return this.aBattercake.getDesc();
	}

	@Override
	protected int cost() {
		return this.aBattercake.cost();
	}

}
